Working with embedded vs. linked objects

Since embedded and linked objects each have different properties, it is important for you to consider the capabilities of each when deciding which OLE format to use.

Embedded objects

An embedded object can be created from within Crystal Reports or by using a file that already exists. If you use an existing file, the object is copied to the report.

When changes are made to an embedded object it does not affect the original file and vice versa. The changes are made only to the object within your report.

To insert an embedded OLE object
  1. Click the Design tab.
  2. On the Insert menu, click OLE Object.

    The Insert Object dialog box appears.

  3. Select Create From File.

    The dialog box changes, allowing you to either type in an object name or browse.

  4. Click Browse and choose Xtreme.bmp from the \Program Files\Seagate Software\Crystal Reports\Samples\En\Databases directory.

    Note:    The location of the bitmap may vary depending on the destination specified during installation.

  5. Click Open to return to the Insert Object dialog box.
  6. Click OK to return to the report. An object frame appears.
  7. Place the object in the Report Header section, just to the right of the first picture.
  8. Right-click this picture and observe that it is also identified as an OLE Object on the shortcut menu. The second command from the bottom of the shortcut menu identifies it as a Bitmap Image Object. It is an embedded OLE object.
  9. Double-click the object. Note that you have remained in Crystal Reports but the menus and tools have merged with Microsoft Paint, or those of another graphics package installed on your machine. These tools can be used to edit the bitmap in place. Remember that even though you are working with the tools of the OLE server application, you are not working on the original file; you are working with a copy and nothing you do here will affect the original.

For more information, go to Linked objects.



Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com